✨ BCA JUL24 Batch ✨

Join Our WhatsApp Group

Anukasif Pic

2.1 - Introduction to C Programming - MCQs

Interactive MCQs Quiz

Test your knowledge with these questions

2. C is often referred to as a "middle-level" language because it combines elements of:

3. Which of the following is NOT a feature of the C programming language?

4. In C programming, which file type contains the source code of the program?

5. What is the role of a header file in C programming?

6. Which file extension is used for an object file in C programming?

7. What does an executable file in C programming represent?

8. Which step comes immediately after writing a C program in a text editor?

9. What is the purpose of flowcharts in programming?

10. What is NOT one of the essential features of an algorithm?

11. Which year was the first version of C released?

12. What was the name of the first book published on C programming in 1978?

13. Which organization standardized C in 1983?

14. In which year were new features like type checking and memory management included in the ISO C standard?

15. What is the main advantage of C being a "platform-independent" language?

16. What is the purpose of the documentation section in a C program?

17. Which symbol is used to start a multi-line comment in C?

18. What does the #include statement do in a C program?

19. What is a header file in C?

20. What does the #define directive do in a C program?

21. Which part of the C program is executed first?

22. In C, what are global variables?

23. What is the correct way to start the main function in C?

24. Why are variables declared at the beginning of a function in C?

25. What is the body of a function in C?

26. Which function is used to print output in C?

27. What does the return statement in C do?

28. Which of the following is NOT a standard C header file?

29. What is the correct syntax for defining a constant named PI with a value of 3.14 in C?

30. In a C program, what does int a = 100; do?

31. Which of the following statements about the main function is true?

32. What is the use of the printf() function?

33. Which operator is used to access the address of a variable in C?

34. Which of the following is a correct way to end a C program?

35. What is the result of the expression 5 + 3 * 2 in C?